﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace Web.Domain.Entities
{
    public class TypeNav
    {
        [HiddenInput(DisplayValue = false)]
        public int id { get; set; }
        [Required(ErrorMessage = "请输入名称")]
        [Display(Name = "名称")]
        public string title { get; set; }
        [Display(Name = "内容模型")]
        public string c { get; set; }
        [Display(Name = "显示方式")]
        public string a { get; set; }
        [Display(Name = "参数")]
        public string p { get; set; }
        [Display(Name = "可用")]
        public int able { get; set; }
        [Display(Name = "排序")]
        public int rank { get; set; }
    }
}
